4234d919471ab7ad0728c4d8f1a04fb8cd8edd4e,portal-web/test/com/liferay/portalweb/portlet/passwordgenerator/portlet/removeportlet/RemovePortletPGTest.java,RemovePortletPGTest,testRemovePortletPG,#,24
Before Change
selenium.selectWindow("null");
selenium.selectFrame("relative=top");
selenium.open("/web/guest/home/");
selenium.waitForVisible("link=Password Generator Test Page");
selenium.clickAt("link=Password Generator Test Page",
RuntimeVariables.replace(""));
selenium.waitForPageToLoad("30000");
After Change
RuntimeVariables.replace("Password Generator Test Page"));
selenium.waitForPageToLoad("30000");
selenium.click("//img[@alt='Remove']");
selenium.waitForConfirmation(
"Are you sure you want to remove this component?");
selenium.waitForElementNotPresent("//section");
assertTrue(selenium.isElementNotPresent("//section"));
}